package cloudPayAdmin.admin.dbapp.vo.hicatcard;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import cloudPayAdmin.util.TimeUtil;
import cloudPayAdmin.util.annotation.StringDateFormat;

@Entity
@Table(name = "v_user_card_transfer")
public class VUserCardTransfer {

	@Id
	@Column(name = "USER_CARD_TRANSFER_ID")
	private Long userCardTransferId;

	@Column(name = "USER_CARD_NUMBER")
	private String userCardNumber; // 赠送后的卡号

	@Column(name = "SOURCE_USER_CARD_ID")
	private Long sourceUserCardId;

	@Column(name = "SOURCE_USER_ID")
	private Long sourceUserId;

	@Column(name = "SOURCE_CARD_NUMBER")
	private String sourceCardNumber;

	@Column(name = "TARGET_USER_CARD_ID")
	private Long targetUserCardId;

	@Column(name = "TARGET_USER_ID")
	private Long targetUserId;

	@Column(name = "CREATE_TIME")
	@StringDateFormat(oriFormat = TimeUtil.DATE_PATTERN_NOSEPARTOR, destFormat = TimeUtil.DEFAULT_DATE_PATTERN)
	private String createTime;

	@Column(name = "UPDATE_TIME")
	@StringDateFormat(oriFormat = TimeUtil.DATE_PATTERN_NOSEPARTOR, destFormat = TimeUtil.DEFAULT_DATE_PATTERN)
	private String updateTime;

	@Column(name = "ENABLE")
	private Boolean enable = Boolean.TRUE;

	@Column(name = "CARD_NAME")
	private String cardName;
	
	@Column(name = "SOURCE_USER_NICKNAME")
	private String sourceUserNickname;
	
	@Column(name = "SOURCE_USER_PHONE")
	private String sourceUserPhone;
	
	@Column(name = "RECEIVER_NICKNAME")
	private String receiverNickname;
	
	@Column(name = "RECEIVER_PHONE")
	private String receiverPhone;

	@Column(name = "RECEIVER_STATUS")
	private String receiverStatus;

	@StringDateFormat(oriFormat = TimeUtil.DATE_PATTERN_NOSEPARTOR, destFormat = TimeUtil.DEFAULT_DATE_PATTERN)
	@Column(name = "RECEIVER_END_TIME")
	private String receiverEndTime;

	public Long getUserCardTransferId() {
		return userCardTransferId;
	}

	public void setUserCardTransferId(Long userCardTransferId) {
		this.userCardTransferId = userCardTransferId;
	}

	public String getUserCardNumber() {
		return userCardNumber;
	}

	public void setUserCardNumber(String userCardNumber) {
		this.userCardNumber = userCardNumber;
	}

	public Long getSourceUserCardId() {
		return sourceUserCardId;
	}

	public void setSourceUserCardId(Long sourceUserCardId) {
		this.sourceUserCardId = sourceUserCardId;
	}

	public Long getSourceUserId() {
		return sourceUserId;
	}

	public void setSourceUserId(Long sourceUserId) {
		this.sourceUserId = sourceUserId;
	}

	public String getSourceCardNumber() {
		return sourceCardNumber;
	}

	public void setSourceCardNumber(String sourceCardNumber) {
		this.sourceCardNumber = sourceCardNumber;
	}

	public Long getTargetUserCardId() {
		return targetUserCardId;
	}

	public void setTargetUserCardId(Long targetUserCardId) {
		this.targetUserCardId = targetUserCardId;
	}

	public Long getTargetUserId() {
		return targetUserId;
	}

	public void setTargetUserId(Long targetUserId) {
		this.targetUserId = targetUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}

	public String getCardName() {
		return cardName;
	}

	public void setCardName(String cardName) {
		this.cardName = cardName;
	}

	public String getSourceUserNickname() {
		return sourceUserNickname;
	}

	public void setSourceUserNickname(String sourceUserNickname) {
		this.sourceUserNickname = sourceUserNickname;
	}

	public String getSourceUserPhone() {
		return sourceUserPhone;
	}

	public void setSourceUserPhone(String sourceUserPhone) {
		this.sourceUserPhone = sourceUserPhone;
	}

	public String getReceiverNickname() {
		return receiverNickname;
	}

	public void setReceiverNickname(String receiverNickname) {
		this.receiverNickname = receiverNickname;
	}

	public String getReceiverPhone() {
		return receiverPhone;
	}

	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}

	

	public String getReceiverStatus() {
		return receiverStatus;
	}

	public void setReceiverStatus(String receiverStatus) {
		this.receiverStatus = receiverStatus;
	}

	public String getReceiverEndTime() {
		return receiverEndTime;
	}

	public void setReceiverEndTime(String receiverEndTime) {
		this.receiverEndTime = receiverEndTime;
	}
	
	
}
